package kgc.crm.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;

//timeType 0 = 当前天，1 = 本周，2 = 本月，3 = 本季度，4 = 本年度
@Getter
public enum TimeTypeEnum implements IEnum<Integer> {
    BY_DAY(0, "当前天"),
    BY_WEEK(1, "本周"),
    BY_MONTH(2, "本月"),
    BY_QUARTER(3, "本季度"),
    BY_YEAR(4,"本年度");

    private Integer value;
    private String desc;

    TimeTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    };
}